[INFO] cloning repository https://github.com/yutiansut/quantaxis-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yutiansut/quantaxis-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutiansut%2Fquantaxis-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutiansut%2Fquantaxis-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d4399bacf08bb286f98e181602cca104eb14a1f
[INFO] building yutiansut/quantaxis-rs against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutiansut%2Fquantaxis-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yutiansut/quantaxis-rs on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yutiansut/quantaxis-rs
[INFO] finished tweaking git repo https://github.com/yutiansut/quantaxis-rs
[INFO] tweaked toml for git repo https://github.com/yutiansut/quantaxis-rs written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/yutiansut/quantaxis-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a50a7ce034528a7cfe17a06ad581f543ee2006716d2541c632ac5449f0609261
[INFO] running `Command { std: "docker" "start" "-a" "a50a7ce034528a7cfe17a06ad581f543ee2006716d2541c632ac5449f0609261", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a50a7ce034528a7cfe17a06ad581f543ee2006716d2541c632ac5449f0609261", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a50a7ce034528a7cfe17a06ad581f543ee2006716d2541c632ac5449f0609261", kill_on_drop: false }`
[INFO] [stdout] a50a7ce034528a7cfe17a06ad581f543ee2006716d2541c632ac5449f0609261
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68e1ad7115ad611b646ee01f73f31c6d29ed54ddcb987aa9b3e3c1e2d9162513
[INFO] running `Command { std: "docker" "start" "-a" "68e1ad7115ad611b646ee01f73f31c6d29ed54ddcb987aa9b3e3c1e2d9162513", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling once_cell v1.6.0
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.6
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.12
[INFO] [stderr]    Compiling futures-io v0.3.12
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crossbeam-utils v0.8.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-sink v0.3.12
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling tinyvec v1.1.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling futures-channel v0.3.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling futures-task v0.3.12
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling rustversion v1.0.4
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling gimli v0.23.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling nb-connect v1.0.3
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling idna v0.2.2
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.62
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling darling_core v0.12.1
[INFO] [stderr]    Compiling backtrace v0.3.56
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]    Compiling async-executor v1.4.0
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.2
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling async-lock v2.3.0
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling matrixmultiply v0.2.4
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling stopwatch v0.0.7
[INFO] [stderr]    Compiling float-cmp v0.4.0
[INFO] [stderr]    Compiling bencher v0.1.5
[INFO] [stderr]    Compiling ctor v0.1.19
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling darling_macro v0.12.1
[INFO] [stderr]    Compiling async-trait v0.1.42
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling typed-builder v0.4.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling darling v0.12.1
[INFO] [stderr]    Compiling serde_with_macros v1.4.1
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling futures-util v0.3.12
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling polling v2.0.2
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling rustls v0.17.0
[INFO] [stderr]    Compiling os_info v3.0.1
[INFO] [stderr]    Compiling async-io v1.3.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling async-global-executor v2.0.2
[INFO] [stderr]    Compiling async-std v1.9.0
[INFO] [stderr]    Compiling futures-executor v0.3.12
[INFO] [stderr]    Compiling futures v0.3.12
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling serde_with v1.6.4
[INFO] [stderr]    Compiling bstr v0.2.15
[INFO] [stderr]    Compiling serde_bytes v0.10.5
[INFO] [stderr]    Compiling trust-dns-proto v0.19.6
[INFO] [stderr]    Compiling tokio-rustls v0.13.1
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling csv v1.1.5
[INFO] [stderr]    Compiling bson v1.2.0
[INFO] [stderr]    Compiling ndarray-csv v0.4.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.6
[INFO] [stderr]    Compiling mongodb v1.2.0
[INFO] [stderr]    Compiling qifi-rs v0.3.0
[INFO] [stderr]    Compiling quantaxis-rs v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::NAN`
[INFO] [stdout]  --> src/indicators/moving_average.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::NAN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 886 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 886 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 959 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 959 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 237 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 237 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 240 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 240 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 246 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 246 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 249 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaperformance.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaperformance.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QAPerformance_Single` should have an upper camel case name
[INFO] [stdout]   --> src/qaperformance.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct QAPerformance_Single {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaperformanceSingle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -         let day = (date - year * 10000 - month * 100);
[INFO] [stdout] 941 +         let day = date - year * 10000 - month * 100;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 43 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 65 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 prev_close => {
[INFO] [stdout]    |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/indicators/true_range.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 prev_close => {
[INFO] [stdout]     |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 115 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]     |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `length` is never read
[INFO] [stdout]   --> src/indicators/average_true_range.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AverageTrueRange {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     length: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `AverageTrueRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/qaaccount.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 106 |     init_cash: f64,
[INFO] [stdout] 107 |     init_hold: HashMap<String, QA_Postions>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |
[INFO] [stdout] 109 |     allow_t0: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 110 |     allow_sellopen: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     allow_margin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |     auto_reload: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 114 |     market_preset: MarketPreset,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     commission_ratio: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 133 |     // 手续费率
[INFO] [stdout] 134 |     tax_ratio: f64,        // tax for qaaccount
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `QA_Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `message` is never used
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReaderBuilder`, `WriterBuilder`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use csv::{ReaderBuilder, WriterBuilder};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> src/main.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stopwatch::Stopwatch`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stopwatch::Stopwatch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 886 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 886 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 959 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 959 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 237 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 237 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 240 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 240 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 246 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 246 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 249 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -         let day = (date - year * 10000 - month * 100);
[INFO] [stdout] 941 +         let day = date - year * 10000 - month * 100;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_bar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn create() -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `init` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn init(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `on_bar` is never used
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn run(&mut self) {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `day_open` is never used
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn day_open(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `day_close` is never used
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn day_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `on_backtest_close` is never used
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn on_backtest_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/qaaccount.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 106 |     init_cash: f64,
[INFO] [stdout] 107 |     init_hold: HashMap<String, QA_Postions>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |
[INFO] [stdout] 109 |     allow_t0: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 110 |     allow_sellopen: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     allow_margin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |     auto_reload: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 114 |     market_preset: MarketPreset,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     commission_ratio: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 133 |     // 手续费率
[INFO] [stdout] 134 |     tax_ratio: f64,        // tax for qaaccount
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `QA_Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `message` is never used
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 59 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 17s
[INFO] running `Command { std: "docker" "inspect" "68e1ad7115ad611b646ee01f73f31c6d29ed54ddcb987aa9b3e3c1e2d9162513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68e1ad7115ad611b646ee01f73f31c6d29ed54ddcb987aa9b3e3c1e2d9162513", kill_on_drop: false }`
[INFO] [stdout] 68e1ad7115ad611b646ee01f73f31c6d29ed54ddcb987aa9b3e3c1e2d9162513
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68c38aae722ddfe68e19404d6011979df7e26b8de8d2263d01d6966b226787ac
[INFO] running `Command { std: "docker" "start" "-a" "68c38aae722ddfe68e19404d6011979df7e26b8de8d2263d01d6966b226787ac", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::f64::NAN`
[INFO] [stdout]  --> src/indicators/moving_average.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::NAN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 886 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 886 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 959 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 959 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 237 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 237 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 240 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 240 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 246 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 246 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 249 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaperformance.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaperformance.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QAPerformance_Single` should have an upper camel case name
[INFO] [stdout]   --> src/qaperformance.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct QAPerformance_Single {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaperformanceSingle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -         let day = (date - year * 10000 - month * 100);
[INFO] [stdout] 941 +         let day = date - year * 10000 - month * 100;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 43 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 65 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 prev_close => {
[INFO] [stdout]    |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/indicators/true_range.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 prev_close => {
[INFO] [stdout]     |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 115 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]     |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `length` is never read
[INFO] [stdout]   --> src/indicators/average_true_range.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AverageTrueRange {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     length: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `AverageTrueRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/qaaccount.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 106 |     init_cash: f64,
[INFO] [stdout] 107 |     init_hold: HashMap<String, QA_Postions>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |
[INFO] [stdout] 109 |     allow_t0: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 110 |     allow_sellopen: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     allow_margin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |     auto_reload: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 114 |     market_preset: MarketPreset,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     commission_ratio: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 133 |     // 手续费率
[INFO] [stdout] 134 |     tax_ratio: f64,        // tax for qaaccount
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `QA_Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quantaxis-rs v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `message` is never used
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 52 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReaderBuilder`, `WriterBuilder`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use csv::{ReaderBuilder, WriterBuilder};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> src/main.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stopwatch::Stopwatch`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stopwatch::Stopwatch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 886 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 886 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 959 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 959 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 237 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 237 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 240 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 240 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 246 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 246 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 249 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -         let day = (date - year * 10000 - month * 100);
[INFO] [stdout] 941 +         let day = date - year * 10000 - month * 100;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_bar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn create() -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `init` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn init(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `on_bar` is never used
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn run(&mut self) {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `day_open` is never used
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn day_open(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `day_close` is never used
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn day_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `on_backtest_close` is never used
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn on_backtest_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/qaaccount.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 106 |     init_cash: f64,
[INFO] [stdout] 107 |     init_hold: HashMap<String, QA_Postions>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |
[INFO] [stdout] 109 |     allow_t0: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 110 |     allow_sellopen: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     allow_margin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |     auto_reload: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 114 |     market_preset: MarketPreset,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     commission_ratio: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 133 |     // 手续费率
[INFO] [stdout] 134 |     tax_ratio: f64,        // tax for qaaccount
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `QA_Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `message` is never used
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 59 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/t01b2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max`, `min`
[INFO] [stdout]  --> examples/t01b2.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> examples/t01b2.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `indicators`, `qadata`, `qaindicator`, `qaposition`, `transaction`
[INFO] [stdout]   --> examples/t01b2.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     indicators, Next, qaaccount, qadata, qafetch, qaindicator, qaposition, transaction,
[INFO] [stdout]    |     ^^^^^^^^^^                   ^^^^^^           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BollingerBands`, `EfficiencyRatio`, `ExponentialMovingAverage`, `FastStochastic`, `Maximum`, `Minimum`, `MoneyFlowIndex`, `MovingAverageConvergenceDivergence`, `OnBalanceVolume`, `RateOfChange`, `RelativeStrengthIndex`, `SimpleMovingAverage`, `SlowStochastic`, `StandardDeviation`, `TrueRange`
[INFO] [stdout]   --> examples/t01b2.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     BollingerBands, EfficiencyRatio, ExponentialMovingAverage, FastStochastic, HHV, LLV,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     Maximum, Minimum, MoneyFlowIndex, MovingAverage,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     MovingAverageConvergenceDivergence, OnBalanceVolume, RateOfChange, RelativeStrengthIndex, SimpleMovingAverage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     SlowStochastic, StandardDeviation, TrueRange,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quantaxis_rs::qaposition::QA_Postions`
[INFO] [stdout]   --> examples/t01b2.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use quantaxis_rs::qaposition::QA_Postions;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2.rs:165:28
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 stopLine = (HAE * (1.0 - TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -                 stopLine = (HAE * (1.0 - TrailingStop1 / 1000.0));
[INFO] [stdout] 165 +                 stopLine = HAE * (1.0 - TrailingStop1 / 1000.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |             if (crossUnder && cond2) {
[INFO] [stdout]     |                ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -             if (crossUnder && cond2) {
[INFO] [stdout] 168 +             if crossUnder && cond2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:177:23
[INFO] [stdout]     |
[INFO] [stdout] 177 |             } else if (bar.low < stopLine) {
[INFO] [stdout]     |                       ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 177 -             } else if (bar.low < stopLine) {
[INFO] [stdout] 177 +             } else if bar.low < stopLine {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |         if (short_pos > 0.0 && long_pos == 0.0) {
[INFO] [stdout]     |            ^                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 188 -         if (short_pos > 0.0 && long_pos == 0.0) {
[INFO] [stdout] 188 +         if short_pos > 0.0 && long_pos == 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:192:16
[INFO] [stdout]     |
[INFO] [stdout] 192 |             if (LAE >= (acc.get_open_price_short(code) * (1.0 - TrailingStart1 / 1000.0) as f64)
[INFO] [stdout]     |                ^
[INFO] [stdout] 193 |                 && bar_id - count1 >= 1)
[INFO] [stdout]     |                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 192 ~             if LAE >= (acc.get_open_price_short(code) * (1.0 - TrailingStart1 / 1000.0) as f64)
[INFO] [stdout] 193 ~                 && bar_id - count1 >= 1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2.rs:195:28
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 stopLine = (LAE * (1.0 + TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 195 -                 stopLine = (LAE * (1.0 + TrailingStop1 / 1000.0));
[INFO] [stdout] 195 +                 stopLine = LAE * (1.0 + TrailingStop1 / 1000.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |             } else if (bar.high >= stopLine) {
[INFO] [stdout]     |                       ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 205 -             } else if (bar.high >= stopLine) {
[INFO] [stdout] 205 +             } else if bar.high >= stopLine {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |         if (short_pos == 0.0 && long_pos == 0.0) {
[INFO] [stdout]     |            ^                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 215 -         if (short_pos == 0.0 && long_pos == 0.0) {
[INFO] [stdout] 215 +         if short_pos == 0.0 && long_pos == 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Builder`
[INFO] [stdout]  --> examples/x1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::runtime::Builder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/x2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> examples/x1.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> examples/x1.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Builder`
[INFO] [stdout]  --> examples/asynctest.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::runtime::Builder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> examples/x1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/x1.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> examples/asynctest.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime`
[INFO] [stdout]  --> examples/x1.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]   --> examples/x1.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ops::DerefMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task`
[INFO] [stdout]  --> examples/asynctest.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::task;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> examples/asynctest.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> examples/asynctest.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/asynctest.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> examples/asynctest.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime`
[INFO] [stdout]  --> examples/asynctest.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> examples/x2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> examples/x2.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> examples/x2.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime`
[INFO] [stdout]  --> examples/x2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Builder`
[INFO] [stdout]  --> examples/x2.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::runtime::Builder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> examples/x2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/qadata.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/t01b2D.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max`, `min`
[INFO] [stdout]  --> examples/t01b2D.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> examples/t01b2D.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `indicators`, `qadata`, `qaindicator`, `qaposition`, `transaction`
[INFO] [stdout]   --> examples/t01b2D.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     indicators, Next, qaaccount, qadata, qafetch, qaindicator, qaposition, transaction,
[INFO] [stdout]    |     ^^^^^^^^^^                   ^^^^^^           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BollingerBands`, `EfficiencyRatio`, `ExponentialMovingAverage`, `FastStochastic`, `Maximum`, `Minimum`, `MoneyFlowIndex`, `MovingAverageConvergenceDivergence`, `OnBalanceVolume`, `RateOfChange`, `RelativeStrengthIndex`, `SimpleMovingAverage`, `SlowStochastic`, `StandardDeviation`, `TrueRange`
[INFO] [stdout]   --> examples/t01b2D.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     BollingerBands, EfficiencyRatio, ExponentialMovingAverage, FastStochastic, HHV, LLV,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     Maximum, Minimum, MoneyFlowIndex, MovingAverage,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     MovingAverageConvergenceDivergence, OnBalanceVolume, RateOfChange, RelativeStrengthIndex, SimpleMovingAverage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     SlowStochastic, StandardDeviation, TrueRange,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quantaxis_rs::qaposition::QA_Postions`
[INFO] [stdout]   --> examples/t01b2D.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use quantaxis_rs::qaposition::QA_Postions;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2D.rs:163:28
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 stopLine = (HAE * (1.0 - TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -                 stopLine = (HAE * (1.0 - TrailingStop1 / 1000.0));
[INFO] [stdout] 163 +                 stopLine = HAE * (1.0 - TrailingStop1 / 1000.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2D.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 stopLine = (LAE * (1.0 + TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 191 -                 stopLine = (LAE * (1.0 + TrailingStop1 / 1000.0));
[INFO] [stdout] 191 +                 stopLine = LAE * (1.0 + TrailingStop1 / 1000.0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]   --> examples/x2.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let (acc, code) = join.await.unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> examples/x1.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let order = acc_mut.send_order_async(&code, 10.0, "2020-01-20 22:10:00", 2, 3500.0, "BUY_OPEN");
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> examples/x2.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let (acc, code) = join.await.unwrap();
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc2`
[INFO] [stdout]   --> examples/x2.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (acc2, code2) = join2.await.unwrap();
[INFO] [stdout]    |          ^^^^ help: if this is intentional, prefix it with an underscore: `_acc2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code2`
[INFO] [stdout]   --> examples/x2.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (acc2, code2) = join2.await.unwrap();
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_code2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_computation` is never used
[INFO] [stdout]   --> examples/asynctest.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn some_computation() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/x1.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut ac1= ac.clone();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_computation` is never used
[INFO] [stdout]   --> examples/x1.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn some_computation() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `some_computation` is never used
[INFO] [stdout]   --> examples/x2.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn some_computation() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priceoffset`
[INFO] [stdout]   --> examples/t01b2D.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let priceoffset = 1;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priceoffset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priceoffset`
[INFO] [stdout]   --> examples/t01b2.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let priceoffset = 2;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priceoffset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::real::Real`
[INFO] [stdout]  --> examples/qadata.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count1`
[INFO] [stdout]   --> examples/t01b2D.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let count1 = 0;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_count1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_llv`
[INFO] [stdout]    --> examples/t01b2D.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let ind_llv = llv_i.next(bar.low);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_llv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_hhv`
[INFO] [stdout]    --> examples/t01b2D.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let ind_hhv = hhv_i.next(bar.high);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_hhv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_ma`
[INFO] [stdout]    --> examples/t01b2D.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let ind_ma = ma.next(bar.open);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_ma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `t01b2D` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `t01b2_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lossP` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let lossP = 1.3;
[INFO] [stdout]    |         ^^^^^ help: convert the identifier to snake case: `loss_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let K1: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K2` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let K2: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut HAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `hae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut LAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `lae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStart1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let TrailingStart1 = 90.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_start1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStop1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let TrailingStop1 = 10.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_stop1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossOver` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let crossOver = bar.high > hhv_i.cached[K1 - 2] && lastbar.high < hhv_i.cached[K1 - 2];
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `cross_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossUnder` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let crossUnder = bar.low < llv_i.cached[K2 - 2] && lastbar.low > llv_i.cached[K2 - 2];
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `cross_under`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 | /                 acc.buy_open(
[INFO] [stdout] 140 | |                     bar.code.as_ref(),
[INFO] [stdout] 141 | |                     10.0,
[INFO] [stdout] 142 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 143 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 144 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 | /                 acc.sell_open(
[INFO] [stdout] 147 | |                     bar.code.as_ref(),
[INFO] [stdout] 148 | |                     10.0,
[INFO] [stdout] 149 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 150 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 151 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 |             let mut stopLine: f64 = acc.get_open_price_long(code) * (100.0 - lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 | /                 acc.sell_close(
[INFO] [stdout] 169 | |                     code,
[INFO] [stdout] 170 | |                     10.0,
[INFO] [stdout] 171 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 172 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 173 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 | /                 acc.sell_close(
[INFO] [stdout] 177 | |                     code,
[INFO] [stdout] 178 | |                     10.0,
[INFO] [stdout] 179 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 180 | |                     compare_min(bar.open, stopLine),
[INFO] [stdout] 181 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:186:21
[INFO] [stdout]     |
[INFO] [stdout] 186 |             let mut stopLine: f64 = acc.get_open_price_short(code) * (100.0 + lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 | /                 acc.buy_close(
[INFO] [stdout] 196 | |                     code,
[INFO] [stdout] 197 | |                     10.0,
[INFO] [stdout] 198 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 199 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 200 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 | /                 acc.buy_close(
[INFO] [stdout] 206 | |                     code,
[INFO] [stdout] 207 | |                     10.0,
[INFO] [stdout] 208 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 209 | |                     compare_max(bar.open, stopLine),
[INFO] [stdout] 210 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     acc.to_csv();
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReaderBuilder`, `WriterBuilder`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use csv::{ReaderBuilder, WriterBuilder};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> src/main.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stopwatch::Stopwatch`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stopwatch::Stopwatch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 886 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 886 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 959 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 959 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_llv`
[INFO] [stdout]    --> examples/t01b2.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let ind_llv = llv_i.next(bar.low);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_llv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_hhv`
[INFO] [stdout]    --> examples/t01b2.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let ind_hhv = hhv_i.next(bar.high);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_hhv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_ma`
[INFO] [stdout]    --> examples/t01b2.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let ind_ma = ma.next(bar.open);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_ma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lossP` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let lossP = 1.3;
[INFO] [stdout]    |         ^^^^^ help: convert the identifier to snake case: `loss_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let K1: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K2` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let K2: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut HAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `hae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut LAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `lae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStart1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let TrailingStart1 = 90.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_start1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStop1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let TrailingStop1 = 10.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_stop1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossOver` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let crossOver = bar.high > hhv_i.cached[K1 - 2] && lastbar.high < hhv_i.cached[K1 - 2];
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `cross_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossUnder` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let crossUnder = bar.low < llv_i.cached[K2 - 2] && lastbar.low > llv_i.cached[K2 - 2];
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `cross_under`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 | /                 acc.buy_open(
[INFO] [stdout] 136 | |                     bar.code.as_ref(),
[INFO] [stdout] 137 | |                     90.0,
[INFO] [stdout] 138 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 139 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 140 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 | /                 acc.sell_open(
[INFO] [stdout] 147 | |                     bar.code.as_ref(),
[INFO] [stdout] 148 | |                     90.0,
[INFO] [stdout] 149 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 150 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 151 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let mut stopLine: f64 = acc.get_open_price_long(code) * (100.0 - lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 acc.sell_close(
[INFO] [stdout] 172 | |                     code,
[INFO] [stdout] 173 | |                     90.0,
[INFO] [stdout] 174 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 175 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 176 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 | /                 acc.sell_close(
[INFO] [stdout] 181 | |                     code,
[INFO] [stdout] 182 | |                     90.0,
[INFO] [stdout] 183 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 184 | |                     compare_min(bar.open, stopLine),
[INFO] [stdout] 185 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut stopLine: f64 = acc.get_open_price_short(code) * (100.0 + lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 | /                 acc.buy_close(
[INFO] [stdout] 200 | |                     code,
[INFO] [stdout] 201 | |                     90.0,
[INFO] [stdout] 202 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 203 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 204 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 | /                 acc.buy_close(
[INFO] [stdout] 208 | |                     code,
[INFO] [stdout] 209 | |                     90.0,
[INFO] [stdout] 210 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 211 | |                     compare_max(bar.open, stopLine),
[INFO] [stdout] 212 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     acc.to_csv();
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 237 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 237 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 240 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 240 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 246 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 246 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 249 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -         let day = (date - year * 10000 - month * 100);
[INFO] [stdout] 941 +         let day = date - year * 10000 - month * 100;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaaccount::QA_Account`
[INFO] [stdout]     --> src/trade_date.rs:1044:9
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     use crate::qaaccount::QA_Account;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::NAN`
[INFO] [stdout]  --> src/indicators/moving_average.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::NAN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `test_indicator`
[INFO] [stdout]    --> src/indicators/money_flow_index.rs:153:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |     macro_rules! test_indicator {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 886 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 886 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 959 -         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout] 959 +         self.money -= margin - close_profit + commission + tax;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 237 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 237 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 240 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 240 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 246 -         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout] 246 +         self.volume_long_his += self.volume_long_today + self.volume_long_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout] 249 +         self.volume_short_his += self.volume_short_today + self.volume_short_frozen_today;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaperformance.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaperformance.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QAPerformance_Single` should have an upper camel case name
[INFO] [stdout]   --> src/qaperformance.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct QAPerformance_Single {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaperformanceSingle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 941 -         let day = (date - year * 10000 - month * 100);
[INFO] [stdout] 941 +         let day = date - year * 10000 - month * 100;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaaccount::QA_Account`
[INFO] [stdout]     --> src/trade_date.rs:1044:9
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     use crate::qaaccount::QA_Account;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]     --> src/qaaccount.rs:1001:17
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |                 ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1276:13
[INFO] [stdout]      |
[INFO] [stdout] 1276 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1295:13
[INFO] [stdout]      |
[INFO] [stdout] 1295 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_bar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:991:13
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut acc = QA_Account::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/qaaccount.rs:1001:13
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn create() -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `init` is never used
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn init(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `on_bar` is never used
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn run(&mut self) {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `day_open` is never used
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn day_open(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `day_close` is never used
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn day_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `on_backtest_close` is never used
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn on_backtest_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/qaaccount.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 106 |     init_cash: f64,
[INFO] [stdout] 107 |     init_hold: HashMap<String, QA_Postions>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |
[INFO] [stdout] 109 |     allow_t0: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 110 |     allow_sellopen: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     allow_margin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |     auto_reload: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 114 |     market_preset: MarketPreset,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     commission_ratio: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 133 |     // 手续费率
[INFO] [stdout] 134 |     tax_ratio: f64,        // tax for qaaccount
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `QA_Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1052:9
[INFO] [stdout]      |
[INFO] [stdout] 1052 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1071:9
[INFO] [stdout]      |
[INFO] [stdout] 1071 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1090:9
[INFO] [stdout]      |
[INFO] [stdout] 1090 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1109:9
[INFO] [stdout]      |
[INFO] [stdout] 1109 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1127:9
[INFO] [stdout]      |
[INFO] [stdout] 1127 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1129:9
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         acc.buy_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1149:9
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1151:9
[INFO] [stdout]      |
[INFO] [stdout] 1151 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1171:9
[INFO] [stdout]      |
[INFO] [stdout] 1171 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1175:9
[INFO] [stdout]      |
[INFO] [stdout] 1175 |         acc.sell_close(code, 1000.0, "2020-01-20", 36.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1192:9
[INFO] [stdout]      |
[INFO] [stdout] 1192 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1203:9
[INFO] [stdout]      |
[INFO] [stdout] 1203 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1207:9
[INFO] [stdout]      |
[INFO] [stdout] 1207 |         acc.sell(code, 10.0, "2020-01-22 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1217:9
[INFO] [stdout]      |
[INFO] [stdout] 1217 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1220:9
[INFO] [stdout]      |
[INFO] [stdout] 1220 |         acc.sell(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1225:8
[INFO] [stdout]      |
[INFO] [stdout] 1225 |     fn test_accountSlice() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1238 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1242:9
[INFO] [stdout]      |
[INFO] [stdout] 1242 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice_for_qifi` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1252:8
[INFO] [stdout]      |
[INFO] [stdout] 1252 |     fn test_accountSlice_for_qifi() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice_for_qifi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1257:9
[INFO] [stdout]      |
[INFO] [stdout] 1257 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1261:9
[INFO] [stdout]      |
[INFO] [stdout] 1261 |         acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1275:9
[INFO] [stdout]      |
[INFO] [stdout] 1275 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1281:9
[INFO] [stdout]      |
[INFO] [stdout] 1281 |         new_acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1294:9
[INFO] [stdout]      |
[INFO] [stdout] 1294 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1300:9
[INFO] [stdout]      |
[INFO] [stdout] 1300 |         new_acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1318:9
[INFO] [stdout]      |
[INFO] [stdout] 1318 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1322:9
[INFO] [stdout]      |
[INFO] [stdout] 1322 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1345:9
[INFO] [stdout]      |
[INFO] [stdout] 1345 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1352:9
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1369:9
[INFO] [stdout]      |
[INFO] [stdout] 1369 |         acc.buy_open(code, 10.0, "2020-01-22", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1398:9
[INFO] [stdout]      |
[INFO] [stdout] 1398 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1404:9
[INFO] [stdout]      |
[INFO] [stdout] 1404 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1428:9
[INFO] [stdout]      |
[INFO] [stdout] 1428 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1430:9
[INFO] [stdout]      |
[INFO] [stdout] 1430 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1435:9
[INFO] [stdout]      |
[INFO] [stdout] 1435 |         acc.to_csv();
[INFO] [stdout]      |         ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1449:9
[INFO] [stdout]      |
[INFO] [stdout] 1449 |         acc.buy_open("rb2005", 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 43 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 65 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 prev_close => {
[INFO] [stdout]    |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/indicators/true_range.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 prev_close => {
[INFO] [stdout]     |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 115 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]     |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]     --> src/qaaccount.rs:1001:17
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |                 ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1276:13
[INFO] [stdout]      |
[INFO] [stdout] 1276 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1295:13
[INFO] [stdout]      |
[INFO] [stdout] 1295 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:991:13
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut acc = QA_Account::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/qaaccount.rs:1001:13
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `length` is never read
[INFO] [stdout]   --> src/indicators/average_true_range.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AverageTrueRange {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     length: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `AverageTrueRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/qaaccount.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 106 |     init_cash: f64,
[INFO] [stdout] 107 |     init_hold: HashMap<String, QA_Postions>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 108 |
[INFO] [stdout] 109 |     allow_t0: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 110 |     allow_sellopen: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     allow_margin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |     auto_reload: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 114 |     market_preset: MarketPreset,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     commission_ratio: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 133 |     // 手续费率
[INFO] [stdout] 134 |     tax_ratio: f64,        // tax for qaaccount
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `QA_Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LLV_Indicator` should have a snake case name
[INFO] [stdout]    --> src/indicators/llv.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let mut LLV_Indicator = LLV::new(3).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: convert the identifier to snake case: `llv_indicator`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LLV_Indicator` should have a snake case name
[INFO] [stdout]    --> src/indicators/llv.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let mut LLV_Indicator = LLV::new_init(2, vec![3.0,4.0,3.0]).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: convert the identifier to snake case: `llv_indicator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LLV_Indicator` should have a snake case name
[INFO] [stdout]    --> src/indicators/llv.rs:262:17
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let mut LLV_Indicator = LLV::new_init(4, vec![4.0,6.0,3.0]).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: convert the identifier to snake case: `llv_indicator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1052:9
[INFO] [stdout]      |
[INFO] [stdout] 1052 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1071:9
[INFO] [stdout]      |
[INFO] [stdout] 1071 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1090:9
[INFO] [stdout]      |
[INFO] [stdout] 1090 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1109:9
[INFO] [stdout]      |
[INFO] [stdout] 1109 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1127:9
[INFO] [stdout]      |
[INFO] [stdout] 1127 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1129:9
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         acc.buy_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1149:9
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1151:9
[INFO] [stdout]      |
[INFO] [stdout] 1151 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1171:9
[INFO] [stdout]      |
[INFO] [stdout] 1171 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1175:9
[INFO] [stdout]      |
[INFO] [stdout] 1175 |         acc.sell_close(code, 1000.0, "2020-01-20", 36.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1192:9
[INFO] [stdout]      |
[INFO] [stdout] 1192 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1203:9
[INFO] [stdout]      |
[INFO] [stdout] 1203 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1207:9
[INFO] [stdout]      |
[INFO] [stdout] 1207 |         acc.sell(code, 10.0, "2020-01-22 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1217:9
[INFO] [stdout]      |
[INFO] [stdout] 1217 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1220:9
[INFO] [stdout]      |
[INFO] [stdout] 1220 |         acc.sell(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1225:8
[INFO] [stdout]      |
[INFO] [stdout] 1225 |     fn test_accountSlice() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1238 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1242:9
[INFO] [stdout]      |
[INFO] [stdout] 1242 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice_for_qifi` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1252:8
[INFO] [stdout]      |
[INFO] [stdout] 1252 |     fn test_accountSlice_for_qifi() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice_for_qifi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1257:9
[INFO] [stdout]      |
[INFO] [stdout] 1257 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1261:9
[INFO] [stdout]      |
[INFO] [stdout] 1261 |         acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quantaxis-rs`; 84 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustc --crate-name quantaxis_rs --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=6d6f30a04b8b49e2 -C extra-filename=-6d6f30a04b8b49e2 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bencher=/opt/rustwide/target/debug/deps/libbencher-608e8d29dafce657.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-baace6a57d4b816f.rlib --extern csv=/opt/rustwide/target/debug/deps/libcsv-005b801e4ced95f4.rlib --extern error_chain=/opt/rustwide/target/debug/deps/liberror_chain-262539dc7f8a34e9.rlib --extern float_cmp=/opt/rustwide/target/debug/deps/libfloat_cmp-c735c76360095b3e.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-31cf2ce71aab44e2.rlib --extern ndarray=/opt/rustwide/target/debug/deps/libndarray-a3d1053be3cbbf45.rlib --extern ndarray_csv=/opt/rustwide/target/debug/deps/libndarray_csv-cd2746634eea30bf.rlib --extern num=/opt/rustwide/target/debug/deps/libnum-fe23b0f5a47c08f4.rlib --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib --extern qifi_rs=/opt/rustwide/target/debug/deps/libqifi_rs-f3b79bc4cd2ab304.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-5e29d8e5224e6443.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-7ae1c6abfa752407.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-0940ccf46c3725fc.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-abc51a9cd8dc47d9.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-dc741333d3bfdb20.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-6a049d0481ebd4a0.rlib --extern stopwatch=/opt/rustwide/target/debug/deps/libstopwatch-24865b67f1a472b1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-7b2a00f4a164c214.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-d7cc4b6a69c73210.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-a04cd16a720205fe.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-0d446b79578b2e5d/out` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcxqQVmQ/symbols.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.x2.1b605f4a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354.4348xoc2n62e1069.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ring-0d446b79578b2e5d/out" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libquantaxis_rs-964245a448c02370.rlib" "/opt/rustwide/target/debug/deps/libndarray-a3d1053be3cbbf45.rlib" "/opt/rustwide/target/debug/deps/libmatrixmultiply-e36e12ff2d603f8d.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-c1a9a47345061640.rlib" "/opt/rustwide/target/debug/deps/librawpointer-9b15b747fdb4e961.rlib" "/opt/rustwide/target/debug/deps/libqifi_rs-f3b79bc4cd2ab304.rlib" "/opt/rustwide/target/debug/deps/libbson-a53149e061d8384e.rlib" "/opt/rustwide/target/debug/deps/libbase64-c3d2f141e9aa644a.rlib" "/opt/rustwide/target/debug/deps/libuuid-a04cd16a720205fe.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-6b803ce53def5dd9.rlib" "/opt/rustwide/target/debug/deps/librand-47a21beeb8e92c5d.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-3f3c65c5476dab44.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-45921545f81911ae.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-b183ff56153a063c.rlib" "/opt/rustwide/target/debug/deps/librand_core-82d7b3e4fa065eea.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-4f6d68634adc7955.rlib" "/opt/rustwide/target/debug/deps/libhex-0e321716ae71509d.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-ea264b62bc2c9c07.rlib" "/opt/rustwide/target/debug/deps/libserde_json-6a049d0481ebd4a0.rlib" "/opt/rustwide/target/debug/deps/libindexmap-94909792622a49ee.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-d871cd8609217a8e.rlib" "/opt/rustwide/target/debug/deps/libcsv-005b801e4ced95f4.rlib" "/opt/rustwide/target/debug/deps/libryu-8c106c7dece5fbd0.rlib" "/opt/rustwide/target/debug/deps/libitoa-13ca333cbc4b8776.rlib" "/opt/rustwide/target/debug/deps/libcsv_core-a169ab88a7cf6ec5.rlib" "/opt/rustwide/target/debug/deps/libbstr-ec1b8464f0fed20a.rlib" "/opt/rustwide/target/debug/deps/libregex_automata-6b29406b9c053419.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-70a431f780476fab.rlib" "/opt/rustwide/target/debug/deps/libchrono-baace6a57d4b816f.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-747845bc9efb2d79.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b01ac3b4430ee179.rlib" "/opt/rustwide/target/debug/deps/libtime-d1693b6cfc6742ec.rlib" "/opt/rustwide/target/debug/deps/libserde-abc51a9cd8dc47d9.rlib" "/opt/rustwide/target/debug/deps/libregex-0940ccf46c3725fc.rlib" "/opt/rustwide/target/debug/deps/libthread_local-b00fa3ac6607558a.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-86759c3422927ca0.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-c9a4eac6b2db02cb.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e24eefacc9736727.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-262539dc7f8a34e9.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-aaed5d3ef1d0b5a8.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-002270b0df5fc459.rlib" "/opt/rustwide/target/debug/deps/libadler-25c9270f72ae0e7f.rlib" "/opt/rustwide/target/debug/deps/libobject-22e3b70a591374ca.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-946b429b2379394e.rlib" "/opt/rustwide/target/debug/deps/libgimli-f3357c062beaed2c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-d2162517beca3fee.rlib" "/opt/rustwide/target/debug/deps/libtokio-7b2a00f4a164c214.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-e294eed60b9107a7.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-2401cf664cd319c1.rlib" "/opt/rustwide/target/debug/deps/libmemchr-3db82c5a8ba2376a.rlib" "/opt/rustwide/target/debug/deps/libfnv-22cd72556da4b99c.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-7f8e7bfaa30fea3c.rlib" "/opt/rustwide/target/debug/deps/libmio-bd2f3c2e0bfb3c95.rlib" "/opt/rustwide/target/debug/deps/liblog-31cf2ce71aab44e2.rlib" "/opt/rustwide/target/debug/deps/libvalue_bag-89464b99516d95e7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/libslab-ab98851c871a197f.rlib" "/opt/rustwide/target/debug/deps/libiovec-d60304f99977b2b3.rlib" "/opt/rustwide/target/debug/deps/libnet2-38b9efa2685530cd.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-81c3651d70dd4895.rlib" "/opt/rustwide/target/debug/deps/liblibc-9d8efa524d0d4de4.rlib" "/opt/rustwide/target/debug/deps/libfutures_core-8de66b71a42bbb59.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/libbytes-522c9d77a2dcfe3d.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-b4414c276c53e36c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a675e4c0b2cd6d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e3f6eac8ce8ba973.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2ffa3867147f09fb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-35bed922aa32bbbd.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ef53e65a7b7a39e5.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1958e7589a0c42f1.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8c399cda3a205286.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-200a824b7fd3ccbb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ed4f57a507f0fd5e.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3ea91f47fd49275a.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1cb2e84ee1721c57.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ef26b6b8a99daec3.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5e482ea522915d9c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a9e7dd5405efd2c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f728cf9374526084.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b5714e1182296022.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69100093739463c8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-95c4e3e80ce883d8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d83ba1fe54f1e3d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9e21114b6170ad54.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/x2-d6fc7b20af903354" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: collect2: fatal error: ld terminated with signal 9 [Killed]
[INFO] [stdout]           compilation terminated.
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quantaxis-rs` due to 2 previous errors; 12 warnings emitted
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 102 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "68c38aae722ddfe68e19404d6011979df7e26b8de8d2263d01d6966b226787ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68c38aae722ddfe68e19404d6011979df7e26b8de8d2263d01d6966b226787ac", kill_on_drop: false }`
[INFO] [stdout] 68c38aae722ddfe68e19404d6011979df7e26b8de8d2263d01d6966b226787ac
